<!DOCTYPE html>
<!--

@project : Javascript Training
@date    : 10/09/2014

-->
<html>
    <head>
        <title>Javascript Training | Thanh</title>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <link href="http://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
        <link href="css/jstraining.style.css" rel="stylesheet" type="text/css"/>
    </head>
    <body>
        <div class="container">
            <!-- form validation -->
            <section class="jstr-form">
                <h1>1. Form validation</h1>
                <form id="form-signup" method="GET" action="index.html">
                    <fieldset>
                        <legend>Sign up</legend>
                        <p>
                            <label>Full name :</label>
                            <input type="text" name="full-name" placeholder="Enter your name"/>
                        </p>
                        <p>
                            <label>Email :</label>
                            <input type="email" name="full-name" placeholder="Enter your email"/>
                        </p>
                        <p>
                            <label>Password :</label>
                            <input type="password" name="full-name" placeholder="Enter your password"/>
                        </p>
                        <p>
                            <label>Password Retype:</label>
                            <input type="password" name="full-name" placeholder="Retype your password"/>
                        </p>
                        <p>
                            <input type="submit" class="btn btn-success" name="submit" value="Sign up"/>
                            <input type="reset" class="btn btn-default" name="submit" value="Cancel"/>
                        </p>
                    </fieldset>
                </form>
            </section>
            <!--/ end form validation -->

            <!-- Popup -->
            <section class="jstr-popup">
                <h1>2. Popup</h1>
                <button class="btn btn-success btn-modal" data="modal-example">Show modal</button>
            </section>
            <!--/ end Popup -->

            <!-- tab -->
            <section class="jstr-tab">
                <h1>3. Tab</h1>
                <div id="jstr-tab" class="tab">
                    <div class="header-tab">
                        <span data-tab="#tab1" class="title-tab active">Tab 1</span>
                        <span data-tab="#tab2" class="title-tab">Tab 2</span>
                        <span data-tab="#tab3" class="title-tab">Tab 3</span>
                    </div>
                    <div class="body-tab">
                        <div id="tab1" class="content-tab active">
                            Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
                            tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
                            quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
                            consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
                            cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
                            proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
                        </div>
                        <div id="tab2" class="content-tab">
                            Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
                            tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
                            quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
                            consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
                            cillum dolore eu fugiat nulla pariatur.  
                        </div>
                        <div id="tab3" class="content-tab">
                            Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
                            tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
                            quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
                            consequat.
                        </div>
                    </div>
                </div>
            </section>
            <!--/ end tab -->

            <!-- acordition -->
            <section class="jstr-acordition">

                <div id="jstr-acordition" class="acordition">
                    <div class="item-acd">
                        <h3 class="header-acd active"><i class="fa fa-terminal"></i> Acordition 1</h3>
                        <div class="content-acd active">
                            Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
                            tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
                            quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
                            consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
                            cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
                            proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
                        </div>
                    </div>
                    <div class="item-acd">
                        <h3 class="header-acd"><i class="fa fa-terminal"></i> Acordition 2</h3>
                        <div class="content-acd">
                            Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
                            tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
                            quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
                            consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
                            cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
                            proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
                        </div>
                    </div>
                    <div class="item-acd">
                        <h3 class="header-acd"><i class="fa fa-terminal"></i> Acordition 3</h3>
                        <div class="content-acd">
                            Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
                            tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
                            quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
                            consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
                            cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
                            proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
                        </div>
                    </div>
                </div>
            </section>
            <!--/ end acordition -->

        </div>
        <div id="modal-example" class="container modal">
            <div class="header-modal">
                <h1>Header Modal</h1>
                <i class="close">x</i>
            </div>
            <div class="content-modal">
                Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
                tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
                quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
                consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
                cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
                proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
            </div>
            <div class="footer-modal">
                <p><strong>Footer : </strong><a href="mailto:thanh@15gl.org">Send to me your email</a></p>
            </div>
        </div>

        <script src="js/lib/jquery/jquery-1.10.2.js" type="text/javascript"></script>
        <script src="js/jstraining.script.js" type="text/javascript"></script>
    </body>
</html>
